import Vue from 'vue'
import App from './App.vue';

import ElementUI from "element-ui"
import 'element-ui/lib/theme-chalk/index.css';
import axios from '@/api'

import router from '@/router'
//导入自己的插件
import Plugin from '@/plugin'

//导入自己的样式
import '@/styles/index.less'
//基于vue的插件就要use
Vue.use(Plugin)
Vue.prototype.$http = axios
Vue.use(ElementUI)
Vue.config.productionTip = false
new Vue({
    render: h => h(App),
    router
}).$mount('#app')
//1.依赖第三方的全局资源
//2.初始化vue实例